package cn.sunshine;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

/*
* @Title:
* @Description: user启动类
* @Author: Mr.Jiang
* @Version: 1.0
* @Date:  2022/8/4 17:13
* @Parameters:
* @Return
*/
@SpringBootApplication(exclude = { DataSourceAutoConfiguration.class}) // 排除DataSource自动配置
@EnableDiscoveryClient
@EnableFeignClients
//@MapperScan("cn.sunshine.ymcc.mapper")
public class UserServerApplication {
    public static void main(String[] args) {
        SpringApplication.run(UserServerApplication.class,args);
    }
}